/*
 * @Description:
 * @Author: 稽辉
 * @Date: 2025-01-30 16:29:30
 * @LastEditTime: 2025-02-16 09:18:30
 * @LastEditors: 稽辉
 */
import type { DCRecommendInstance } from '@/types/component'
import { ref } from 'vue'

export const useGuessList = () => {
  //获取菜品推荐组件实例
  const guessRef = ref<DCRecommendInstance>()
  // 绑定滚动触底函数
  const onScrolltolower = () => {
    //
    guessRef.value?.getMore()
  }
  //需要将它们返出去
  return {
    guessRef,
    onScrolltolower,
  }
}
